﻿<%@ Page Language="C#" AutoEventWireup="true" Theme="skin_control" CodeFile="VerifyedSpecialPlan.aspx.cs"
    Inherits="SpecialPlan_VerifyedSpecialPlan" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>已处理专项计划</title>
    <link href="../App_Themes/css/main_css.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" language="javascript">
        function Display(id) {
            var tr = document.getElementById(id);
            if (tr.style.display == "none") {
                tr.style.display = "";
            }
            else {
                tr.style.display = "none";
            }
        }

        
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table cellpadding="0" cellspacing="0" border="0" width="100%">
            <tr>
                <td class="firstbjcolor" colspan="8" style="height: 14px;">
                    <span class="currentHere">当前位置:专项计划管理-&gt;待处理部专项计划</span>
                </td>
            </tr>
            <tr>
                <td style="height: 1; width: 100%;">
                </td>
            </tr>
            <tr>
                <td colspan="8" style="background-image: url(../images/secondRow.gif); background-repeat: repeat-x;
                    height: 30px;">
                    <asp:DropDownList ID="drpDepartment" runat="server" AutoPostBack="True" 
                        onselectedindexchanged="drpDepartment_SelectedIndexChanged">
                    </asp:DropDownList>
                    <asp:Button ID="btnVerifyCircuit" runat="server" OnClick="btnVerifyCircuit_Click"
                        SkinID="buttonSkin" Text="流程" />
                </td>
            </tr>
            <tr>
                <td style="height: 1; width: 100%;">
                </td>
            </tr>
            <tr>
                <td colspan="8">
                    <input type="hidden" runat="server" id="hType" value="1" />
                    <table id="NoVerifySpecialPlan" border="0" cellpadding="0" cellspacing="1" width="100%"
                        style="background: Black;">
                        <tr height="27px">
                            <td style="background: #DFDEDC; width: 4%" align="center">
                                选择
                            </td>
                            <td style="background: #DFDEDC; width: 4%" align="center">
                                计划编号
                            </td>
                            <td style="background: #DFDEDC; width: 12%" align="center">
                                计划名称
                            </td>
                            <td style="background: #DFDEDC; width: 8%" align="center">
                                完成时间
                            </td>
                            <td style="background: #DFDEDC; width: 6%" align="center">
                                责任部门
                            </td>
                            <td style="background: #DFDEDC; width: 5%" align="center">
                                责任人
                            </td>
                            <td style="background: #DFDEDC; width: 7%" align="center">
                                配合部门
                            </td>
                            <td style="background: #DFDEDC; width: 10%" align="center">
                                配合部门责任
                            </td>
                            <td style="background: #DFDEDC; width: 6%" align="center">
                                评估人
                            </td>
                            <td style="background: #DFDEDC; width: 8%" align="center">
                                优先级
                            </td>
                            <td style="background: #DFDEDC; width: 6%" align="center">
                                备注
                            </td>
                            <td style="background: #DFDEDC; width: 12%" align="center">
                                审核意见
                            </td>
                            <td style="background: #DFDEDC; width: 6%" align="center">
                                附件
                            </td>
                            <td style="background: #DFDEDC; width: 6%" align="center">
                                查看分解
                            </td>
                        </tr>
                        <asp:Repeater ID="rptNoVerifySpecialPlan" runat="server" 
                            OnItemDataBound="rptNoVerifySpecialPlan_ItemDataBound" 
                            onitemcommand="rptNoVerifySpecialPlan_ItemCommand">
                            <ItemTemplate>
                                <tr height="27px" id='row<%#Eval("Id") %>'>
                                    <td style="background: white; width: 4%" align="center">
                                        <asp:CheckBox runat="server" ID="ckbSelect" />
                                        <asp:HiddenField runat="server" ID="HSpecialPlanId" Value='<%#Eval("Id") %>' />
                                        <asp:HiddenField runat="server" ID="HAttachmengPath" Value='<%#Eval("AttachmengPath") %>' />
                                        <asp:HiddenField runat="server" ID="HState" Value='<%#Eval("State") %>' />
                                        <asp:HiddenField runat="server" ID="HEvaluatePeopleVerifyOpinion" Value='<%#Eval("EvaluatePeopleVerifyOpinion") %>' />
                                        <asp:HiddenField runat="server" ID="HEvaluatePeople" Value='<%#Eval("EvaluatePeople") %>' />
                                    </td>
                                    <td style="background: white; width: 4%" align="center">
                                        <%#Eval("SpecialPlanSortId") %>
                                    </td>
                                    <td style="background: white; width: 12%" align="center">
                                        <%#Eval("WorkItem") %>
                                    </td>
                                    <td style="background: white; width: 8%;" align="center">
                                        <%#Convert.ToDateTime(Eval("CompleteTime")).ToString("yyyy-MM-dd")%>
                                    </td>
                                    <td style="background: white; width: 6%" align="center">
                                        <%#Eval("MasterDepartment") %>
                                    </td>
                                    <td style="background: white; width: 5%" align="center">
                                        <%#Eval("MasterPeople") %>
                                    </td>
                                    <td style="background: white; width: 7%" align="center">
                                        <%#wrapByComma(Eval("SlaveDepartment").ToString()) %>
                                    </td>
                                    <td style="background: white; width: 10%" align="center">
                                        <%#Eval("SlaveDepartmentDuty") %>
                                    </td>
                                    <td style="background: white; width: 6%" align="center">
                                        <%#Eval("EvaluatePeople") %>
                                    </td>
                                    <td style="background: white; width: 8%" align="center">
                                        <%#Eval("PriorityLevel") %>
                                    </td>
                                    <td style="background: white; width: 6%" align="center">
                                        <%#Eval("Remart")%>
                                    </td>
                                    <td style="background: white; width: 12%" align="center">
                                        <%--<asp:TextBox ID="txtVerifyPeopleOpinion" runat="server" Height="50px" TextMode="MultiLine"
                                            Width="90%" SkinID="textboxMultiLineSkin"></asp:TextBox>--%>
                                            <%#Eval("EvaluatePeopleVerifyOpinion")%>
                                    </td>
                                    <td style="background: white; width: 6%" align="center">
                                        <asp:Button ID="btnDownLoad" runat="server" CommandName="DownLoad" CommandArgument=' <%#Eval("AttachmengPath") %>'   Text="下载"
                                            SkinID="buttonSkin" Width="40px" />
                                        <asp:Label ID="lblAlert" runat="server" Visible="False" SkinID="labelSkin"></asp:Label>
                                    </td>
                                    <td style="background: white; width: 6%" align="center">
                                        <a onclick="javascript:Display('tr<%#Eval("Id") %>')">查看分解</a>
                                    </td>
                                </tr>
                                <tr height="27px" id='tr<%#Eval("Id") %>' style="display: none">
                                    <td align="left" colspan="16" style="background: white">
                                        <br />
                                        <table border="0" cellpadding="0" cellspacing="1" width="90%" style="background: black;">
                                            <tr height="27px">
                                                 
                                                <td style="background: #DFDEDC; width: 4%" align="center">
                                                    专项分解
                                                </td>
                                                <td style="background: #DFDEDC; width: 8%" align="center">
                                                    开始时间
                                                </td>
                                                <td style="background: #DFDEDC; width: 8%" align="center">
                                                    完成时间
                                                </td>
                                                <td style="background: #DFDEDC; width: 8%" align="center">
                                                    前置任务
                                                </td>
                                                <td style="background: #DFDEDC; width: 20%" align="center">
                                                    计划名称
                                                </td>
                                                <td style="background: #DFDEDC; width: 6%" align="center">
                                                    责任部门
                                                </td>
                                                <td style="background: #DFDEDC; width: 6%" align="center">
                                                    责任人
                                                </td>
                                                <td style="background: #DFDEDC; width: 8%" align="center">
                                                    配合部门
                                                </td>
                                                <td style="background: #DFDEDC; width: 14%" align="center">
                                                    配合部门责任
                                                </td>
                                                <td style="background: #DFDEDC; width: 6%" align="center">
                                                    优先级
                                                </td>
                                                <td style="background: #DFDEDC; width: 6%" align="center">
                                                    审核意见
                                                </td>
                                                
                                            </tr>
                                            <asp:Repeater runat="server" ID="rptNoVerifySpecialPlanDetail" OnItemDataBound="rptNoVerifySpecialPlanDetail_ItemDataBound"
                                                >
                                                <ItemTemplate>
                                                    <tr height="27px">
                                                         
                                                        <td style="background: white; width: 4%" align="center">
                                                            <%#Eval("SpecialPlanDetailSortId") %>
                                                            <asp:HiddenField ID="HSpecialPlanDetailId" runat="server" Value='<%#Eval("Id") %>' />
                                                            <asp:HiddenField ID="HState" runat="server" Value='<%#Eval("State") %>' />
                                                            <asp:HiddenField ID="HEvaluatePeopleVerifyOpinion" runat="server" Value='<%#Eval("EvaluatePeopleVerifyOpinion") %>' />
                                                            <asp:HiddenField ID="HVerifyPeople" runat="server" Value='<%#Eval("VerifyPeople") %>' />
                                                            <asp:HiddenField ID="HEvaluatePeople" runat="server" Value='<%#Eval("EvaluatePeople") %>' />
                                                        </td>
                                                        <td style="background: white; width: 8%" align="center">
                                                            <%#Convert.ToDateTime(Eval("StartTime")).ToString("yyyy-MM-dd") %>
                                                        </td>
                                                        <td style="background: white; width: 8%" align="center">
                                                            <%#Convert.ToDateTime(Eval("CompleteTime")).ToString("yyyy-MM-dd")%>
                                                        </td>
                                                        <td style="background: white; width: 8%" align="center">
                                                            <%#Eval("PreposeTask")%>
                                                        </td>
                                                        <td style="background: white; width: 20%" align="center">
                                                            <%#Eval("WorkItem")%>
                                                        </td>
                                                        <td style="background: white; width: 6%" align="center">
                                                            <%#Eval("MasterDepartment")%>
                                                        </td>
                                                        <td style="background: white; width: 6%" align="center">
                                                            <%#Eval("MasterPeople")%>
                                                        </td>
                                                        <td style="background: white; width: 8%" align="center">
                                                            <%#wrapByComma(Eval("SlaveDepartment").ToString())%>
                                                        </td>
                                                        <td style="background: white; width: 14%" align="center">
                                                            <%#Eval("SlaveDepartmentDuty")%>
                                                        </td>
                                                        <td style="background: white; width: 6%" align="center">
                                                            <%#Eval("PriorityLevel")%>
                                                        </td>
                                                        <td style="background: white; width: 6%" align="center">
                                                           <%#Eval("EvaluatePeopleVerifyOpinion")%>
                                                        </td>
                                                        
                                                    </tr>
                                                </ItemTemplate>
                                            </asp:Repeater>
                                        </table>
                                        <br />
                                    </td>
                                </tr>
                            </ItemTemplate>
                        </asp:Repeater>
                    </table>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
